package com.sg.hms.ServiceImpl;

import java.sql.Date;
import java.util.ArrayList;

import com.sg.hms.Dao.ApplicationDao;
import com.sg.hms.DaoImpl.ApplicationDaoImpl;
import com.sg.hms.Model.Application;
import com.sg.hms.Model.Pagebean;
import com.sg.hms.Service.ApplicationService;
/***
 * ApplicationService接口的实现类
 * @author 吴磊
 *
 */
public class ApplicationServiceImpl implements ApplicationService{
	ApplicationDao  app=new ApplicationDaoImpl();

	@Override
	public ArrayList<Application> searchApplication(int elId, String key, Pagebean pagebean) {
		// TODO Auto-generated method stub
		return app.searchApplication(elId, key, pagebean);
	}

	@Override
	public ArrayList<Application> searchallApplication(int elId, String key) {
		// TODO Auto-generated method stub
		return app.searchallApplication(elId, key);
	}

	@Override
	public ArrayList<Application> searchallApplication(int elId, Pagebean pagebean) {
		// TODO Auto-generated method stub
		return app.searchallApplication(elId, pagebean);
	}

	@Override
	public ArrayList<Application> searchallApplication(int elId) {
		// TODO Auto-generated method stub
		return app.searchallApplication(elId);
	}

	@Override
	public ArrayList<Application> someApplication(int elId, String state,Pagebean pagebean) {
		// TODO Auto-generated method stub
		return app.someApplication(elId, state, pagebean);
	}

	@Override
	public ArrayList<Application> someApplication(int elId, String state) {
		// TODO Auto-generated method stub
		return app.someApplication(elId, state);
	}

	@Override
	public int addApplication(int elId, String aContent, String state, Date creatDate) {
		// TODO Auto-generated method stub
		return app.addApplication(elId, aContent, state, creatDate);
	}

}
